package com.aipp.mall.h5.mapper;

import com.aipp.mall.h5.domain.entity.Sku;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

/**
 * sku信息Mapper接口
 *
 * @author zcc
 */
public interface SkuMapper extends BaseMapper<Sku> {

    int updateStockById(@Param("skuId") Long skuId, @Param("optDate") LocalDateTime optDate, @Param("quantity") Integer quantity);
}
